import java.awt.Color;
import java.awt.Point;
import java.util.LinkedList;


public class Lines extends LinkedList<Point> {

	private Color color;
	private int stroke;
	
	Lines(Color color, int stroke){
		this.color = color;
		this.stroke = stroke;
	}

	public Color getColor() {
		return color;
	}

	public int getStroke() {
		return stroke;
	}

	public String toString(){
		String n = "Line from X: "+ getFirst().getX() + " Y: "+getFirst().getY()
				+"to X: "+ getLast().getX() + " Y: "+getLast().getY();;
		return n;
	}
	private static final long serialVersionUID = 8911582926061257191L;
}
